package com.study.spmongodb.wwj.thread2.char01;

/**
 * @author MI
 * @version 1.0
 * @date 2020/12/6 20:55
 */
public class SingletObject6 {
    private SingletObject6() {

    }

    private static class InstanceHolder {
        private final static SingletObject6 instance = new SingletObject6();
    }

    public static SingletObject6 getInstance() {
        return InstanceHolder.instance;
    }
}
